<template>
    <view>
        <web-view :src="url"></web-view>
    </view>
</template>

<script lang="ts">
    import Vue from 'vue';

    export default Vue.extend(
        {
            data() {
                return {url: ''}
            },
            onLoad(opt: any) {
                console.log(opt);
                this.url = decodeURIComponent(opt.url)
            }
        }
    )
</script>

<style></style>
